package com.py.pythink.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserDetailBo {
    private Integer id; //主键id
    private Integer uid;  //用户id
    private Integer oid;  // osslog的id
    private String nickname;//昵称
    private Integer sex; // 性别
    private Date birthday;  // 用户出生日期
    private String address;// 用户地址
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date ctime; //用户注册时间
    private String phone;//user手机号
    private String preurl;//ooslog头像
}
